export default {
  data() {
    return {
      passwordForm: {
        visible: false,
        // 子组件的初始化的内容
        form: null,
        width: "310px",
        formAttrs: {
          "label-width": "60px",
          inline: true
        },
        btnText: {
          left: "确定",
          right: "取消"
        },
        save: "pwd",
        title: ["修改密码", "修改密码"],
        formType: "add",
        options: [
          {
            type: "input",
            value: "",
            label: "账号",
            prop: "username",
            rules: [{
              required: true,
              message: "账号不能为空"
            }],
            attrs: {
              style: {
                width: "200px"
              },
              clearable: true,
              placeholder: "请输入账号",
              disabled: true
            }
          },
          {
            type: "input",
            value: "",
            label: "密码",
            prop: "password",
            rules: [{
              required: true,
              message: "密码不能为空"
            }],
            attrs: {

              style: {
                width: "200px"
              },
              clearable: true,

              placeholder: "请输入密码"
            }
          },
          {
            type: "input",
            value: "",
            hide: true,
            label: "id",
            prop: "id"

          }
        ]
      }
    };
  },
  methods: {

  }
};
